package com.yl.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author W
 * @since 2023-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Renwushezhi implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 任务设置主键 id
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 计划类型
     */
    private String jihualeixing;

    /**
     * 护理名称
     */
    private String name;

    /**
     * 时间段
     */
    private String rewutime;

    /**
     * 状态 0-24 分别代表着 一天24小时日循环的每个时间段
     */
    private Integer time;

    @ApiModelProperty(value = "老人外键")
    @TableField("laoren_id")
    private Long laorenId;

    @ApiModelProperty(value = "状态1-7分别为星期一到星期天")
    @TableField("week")
    private Integer week;

    @ApiModelProperty(value = "状态1-14号的状态")
    private Integer month;

}
